export const tableOption = {
  searchShow: true,
  searchMenuSpan: 6,
  tip: false,
  tree: true,
  border: true,
  index: true,
  selection: true,
  addBtn: false,
  viewBtn: true,
  menuWidth: 300,
  column: [
    {
      label: "字典编号",
      prop: "code",
      search: true,
      span: 24,
      rules: [{
        required: true,
        message: "请输入字典编号",
        trigger: "blur"
      }]
    },
    {
      label: "字典名称",
      prop: "dictValue",
      search: true,
      rules: [{
        required: true,
        message: "请输入字典名称",
        trigger: "blur"
      }]
    },
    {
      label: "上级字典",
      prop: "parentId",
      type: "tree",
      dicData: [],
      hide: true,
      props: {
        label: "title"
      },
      rules: [{
        required: false,
        message: "请选择上级字典",
        trigger: "click"
      }]
    },
    {
      label: "字典键值",
      prop: "dictKey",
      type: "number",
      rules: [{
        required: true,
        message: "请输入字典键值",
        trigger: "blur"
      }]
    },
    {
      label: "字典排序",
      prop: "sort",
      type: "number",
      rules: [{
        required: true,
        message: "请输入字典排序",
        trigger: "blur"
      }]
    },
    {
      label: "字典备注",
      prop: "remark",
      search: true,
      span: 24,
      hide: true,
    },
  ]
}
